home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6059 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  868 b 

  1. Path: news.doit.wisc.edu!news
  2. From: cstelzer@students.wisc.edu (Christopher Stelzer)
  3. Newsgroups: comp.lang.c++
  4. Subject: Borland C++ 4.5 FLoating point error?
  5. Date: 10 Feb 1996 22:43:20 GMT
  6. Organization: UW-Madison
  7. Message-ID: <4fj728$187a@news.doit.wisc.edu>
  8. NNTP-Posting-Host: f182-202.net.wisc.edu
  9. X-Newsreader: WinVN 0.99.5
  10.  
  11. I have been having a problem inputing any number with decimals.  I have been 
  12. using the "cin >>" command and have tried using "scanf".  When I declare the 
  13. variable to be inputted as float, double or long I get a floating point 
  14. overflow error. Running turbo debugger over it, I find out it seems to be a 
  15. problem with my processor (100mhz pentium).  Is the problem my processor?  Is 
  16. there a programming fix?  Has anyone else had this problem before?  
  17. Please reply directly to cstelzer@students.wisc.edu
  18.  
  19. thanx
  20. chris stelzer
  21. madison, wi
  22.  
  23.